36948bb04d91a3b4b42b6b6f705320a93c5e30fc,app-fabric/src/main/java/com/continuuity/gateway/handlers/AppFabricHttpHandler.java,AppFabricHttpHandler,getStatus,#HttpRequest#HttpResponder#String#String#String#,133
Before Change
if (id.getType() == EntityType.MAPREDUCE){
String accountId = getAuthenticatedAccountId(request);
id.setAccountId(accountId);
try {
AuthToken token = new AuthToken(request.getHeader(Constants.Gateway.CONTINUUITY_API_KEY));
ProgramStatus status = getProgramStatus(token, id);
After Change
@PathParam("runnable-id") final String runnableId){
LOG.info("Status call from AppFabricHttpHandler for app {} : {} id {}", appId, runnableType, runnableId);
ProgramId id = new ProgramId();
id.setApplicationId(appId);
id.setFlowId(runnableId);
id.setType(runnableTypeMap.get(runnableType));
String accountId = getAuthenticatedAccountId(request);
id.setAccountId(accountId);
try {
if (id.getType() == EntityType.MAPREDUCE) {
String workflowName = getWorkflowName(id.getFlowId());